All Questions
3 questions
1vote
5answers
1kviews
Replace hyphen(s) with underscore(s) within angle brackets in a file
I’m aware of how to replace string; e.g., replace hyphen with underscore in a file. However, I wish to replace all hyphens with underscore for all text that falls within angle brackets in a given file....
3votes
6answers
3kviews
Using sed to replace substrings between specific tags
I want to combine two sed command in one and really don't know how to do it, I've tried multiple things without success. For the result I want all slash between a specific tag to be replaced with ...
0votes
1answer
1kviews
How do I replace the '\' with '/' in file using the command line?
After grep line with AAA/BBB/CCC but the output file consists only the line as AAA"& #x5c;"BBB"& #x5c;"CCC.. How do I fix this?